package yesjava;

import cn.hutool.extra.mail.MailUtil;
import yesjava.news.utils.EmailUtil;

import java.util.List;

public class Main {
    public static void main(String[] args) {
        List<String> address = List.of("175175007@qq.com","1751893855@qq.com");
        String content = "<h1>测试邮件工具类</h1><p> 我爱这个世界！</p>";
        EmailUtil.sendEmail(address,"测试邮件工具类",content,true);
        System.out.println("OKOK");

    }
}
